package 小乐乐改数字;

import java.util.Scanner;

// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String s = in.next();
        String res = "";
        int n = s.length();
        for (int i = 0; i < n; i++) {
            if ((s.charAt(i) - '0') % 2 == 1) {
                res += 1;
            } else {
                res += 0;
            }
        }
        System.out.println(Integer.parseInt(res));
    }
}
